package com.j.Collection.list;

import java.util.LinkedList;
/**
 * 链表
 * 查询慢，增删快
 * */
public class TestLinkedList {
    public static void main(String[] args) {
        LinkedList linkedList=new LinkedList();
        linkedList.add("A");
        linkedList.add("B");
        linkedList.addFirst("C");
        linkedList.addLast("D");
    }
}
